bogofilter-bdb software package provides fast Bayesian spam filter (Berkeley DB), you can install in your Debian 9 (Stretch) by running the commands given below on the terminal,
$ sudo apt-get update $ sudo apt-get install bogofilter-bdb
bogofilter-bdb is installed in your system.
Make ensure the bogofilter-bdb package were installed using the commands given below,
$ sudo dpkg-query -l | grep bogofilter-bdb *
You will get with bogofilter-bdb package name, version, architecture and description in a table
| Distro | Debian 9 stretch |
| Section | |
| Package | bogofilter-bdb |
| Version | 1.2.4+dfsg1-8 |
| Description | fast Bayesian spam filter (Berkeley DB) |
| Sub Section |